package com.ruoyi.project.repertory.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 库存对象 goods_repertory
 * 
 * @author lonsn
 * @date 2020-11-06
 */
public class GoodsRepertory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 门店id */
    @Excel(name = "门店id")
    private Integer deptId;

    /** 货品id */
    @Excel(name = "货品id")
    private Integer goodsId;

    /** 货品数量 */
    @Excel(name = "货品数量")
    private Integer quantity;

    /**  */
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 条码 */
    @Excel(name = "条码")
    private String barCode;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createLoginName;

    /** 最后更新人 */
    @Excel(name = "最后更新人")
    private String lastUpdateLoginName;

    /** 门店 */
    @Excel(name = "门店")
    private String deptName;

    /** 货物名称 */
    @Excel(name = "货物名称")
    private String goodsName;
    /**
     *  款号
     */
    @Excel(name="款号")
    private String styleNumber;




    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }
    public void setGoodsId(Integer goodsId)
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsId()
    {
        return goodsId;
    }
    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }
    public void setLastUpdateTime(Date lastUpdateTime)
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime()
    {
        return lastUpdateTime;
    }
    public void setBarCode(String barCode)
    {
        this.barCode = barCode;
    }

    public String getBarCode()
    {
        return barCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("goodsId", getGoodsId())
            .append("quantity", getQuantity())
            .append("createTime", getCreateTime())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("barCode", getBarCode())
                .append("deptName", getDeptName()).append("goodsName", getGoodsName())
            .toString();
    }

    public String getLastUpdateLoginName() {
        return lastUpdateLoginName;
    }

    public void setLastUpdateLoginName(String lastUpdateLoginName) {
        this.lastUpdateLoginName = lastUpdateLoginName;
    }

    public String getCreateLoginName() {
        return createLoginName;
    }

    public void setCreateLoginName(String createLoginName) {
        this.createLoginName = createLoginName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getStyleNumber() {
        return styleNumber;
    }

    public void setStyleNumber(String styleNumber) {
        this.styleNumber = styleNumber;
    }
}
